package vip.mall.modular.orderAddress.service;

import com.baomidou.mybatisplus.extension.service.IService;
import vip.mall.modular.orderAddress.entity.OrderAddress;
import vip.mall.modular.orderAddress.params.AddOrderAddressParams;


/**
 * @author ASUS
 * @Date 2025/2/21 22:14
 * @Descripition
 */
public interface OrderAddressService extends IService<OrderAddress> {
    /**
     * 添加订单地址
     * @param addOrderAddressParams 参数
     * @return boolean
     */
    boolean add(AddOrderAddressParams addOrderAddressParams);

    /**
     * 根据用户ID查询订单地址
     * @param userId 用户ID
     * @return Object
     */
    OrderAddress selectOrderAddressByUserId(String userId);
}
